package com.sun.dream.fish.mapstruct;

import com.sun.dream.fish.entity.TUserEntity;
import com.sun.dream.fish.vo.back.UserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Description:
 * Created By ljl on 2023/12/11.
 */
@Mapper
public interface UserMapBasic {
    UserMapBasic INSTANCE = Mappers.getMapper(UserMapBasic.class);

    UserVO entityToVO(TUserEntity UserEntity);

    List<UserVO> entityToVO(List<TUserEntity> UserEntity);

    TUserEntity voToEntity(UserVO UserVO);
}
